Best I can tell, the restful_authentication plugin needs to be
converted / upgraded to support rails 3. E.g. the following doesn't
work:
$ script/generate authenticated user session
Now script/generate has been replaced by rails generate or
simply rails g, but when running that, rails can't locate the
generator.
I tried copying the generator script from
vendor/plugins/restful_authentication/generators/authenticated/ to
lib/generators/ – that seemed to get me a step closer but now
rails complains:
$ rails generate authenticated user session
/usr/local/lib/ruby/gems/1.8/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:239:in
require': no such file to load –
lib/generators/lib/insert_routes.rb (LoadError)
Thoughts? Thanks in advance. Surprised there isn't an automatic
way to convert from rails 2.x plugins to rails 3 compatible
plugins..